
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<#include "/common/common2.ftl"/>
<script type="text/javascript" src="/js/gzbg/company/add.js">
    
</script>
<link rel="stylesheet" href="/css/kindeditor/themes/default/default.css" />
<link rel="stylesheet" href="/js/kindeditor/plugins/code/prettify.css" />
<script charset="utf-8" src="/js/kindeditor/kindeditor-all.js"></script>
<script charset="utf-8" src="/js/kindeditor/lang/zh-CN.js"></script>
<script charset="utf-8" src="/js/kindeditor/plugins/code/prettify.js"></script>
<script type="text/javascript">
    var editor;
    KindEditor.ready(function(K) {
        editor = K.create('textarea[name="description"]', {
            cssPath : '/js/kindeditor/plugins/code/prettify.css',
            uploadJson : '/articleUpload',
            fileManagerJson : '/fileManage',
            allowFileManager : true,
            afterCreate : function() {
                var self = this;
                K.ctrl(document, 13, function() {
                    self.sync();
                    document.forms['example'].submit();
                });
                K.ctrl(self.edit.doc, 13, function() {
                    self.sync();
                    document.forms['example'].submit();
                });
            }
        });
        K('#image1').click(function() {
            editor.loadPlugin('image', function() {
                editor.plugin.imageDialog({
                    imageUrl : K('#url1').val(),
                    clickFn : function(url, title, width, height, border, align) {
                        K('#url1').val(url);
                        editor.hideDialog();
                    }
                });
            });
        });
        prettyPrint();
    });
    KindEditor.ready(function(K) {
        var editor = K.editor({
            allowFileManager : true
        });
    });
</script>
<style type="text/css">
.col-sm-3 {
	width: 15%;
	float: left;
	text-align: right;
}

.col-sm-9 {
	width: 85%;
	float: left;
	text-align: left;
}

label[class^="btn btn-default"] {
	margin-top: -4px;
}
</style>
</head>
<body>
	<div class="l_err" style="width: 100%; margin-top: 2px;"></div>
	<form id="form" name="form" class="form-horizontal" method="post" action="/gzbg/company_do/create.do">
		<section class="panel panel-default">
		<div class="panel-body">
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">公司名称</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkacc" placeholder="请输入公司名称" name="name" id="name">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">公司logo</label>
				<div class="col-sm-9">
					<input type="text" class="form-control" placeholder="请输入公司logo" name="logo" id="logo">
					<input type="text" id="url1" value="" />
					<input type="button" id="image1" value="选择图片" />
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">成立时间</label>
				<div class="col-sm-9">
					<input type="date" class="form-control" placeholder="请输入成立时间" name="clsj" id="clsj">
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">负责人</label>
				<div class="col-sm-9">
					<input type="text" class="form-control" placeholder="请输入负责人" name="fzr" id="fzr">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">负责人联系电话</label>
				<div class="col-sm-9">
					<input type="text" class="form-control " placeholder="请输入负责人联系电话" name="fzrlxdh" id="fzrlxdh">
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">公司地址</label>
				<div class="col-sm-9">
					<input type="text" class="form-control" placeholder="请输入地址" name="dz" id="dz">
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">助理</label>
				<div class="col-sm-9">
					<input type="text" class="form-control " placeholder="请输入助理" name="zl" id="zl">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">助理联系电话</label>
				<div class="col-sm-9">
					<input type="text" class="form-control" placeholder="请输入助理联系电话" name="zllxdh" id="zllxdh">
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">公司描述</label>
				<div class="col-sm-9">
					<textarea cols="100" rows="8" id="description" name="description" style="width: 100%; height: 100%;">暂无文章内容</textarea>
				</div>
			</div>
		</div>
		<footer class="panel-footer text-right bg-light lter">
		<button type="submit" class="btn btn-success btn-s-xs" onclick="editor.sync();">提交</button>
		</footer> </section>
	</form>
	<script type="text/javascript">
        onloadurl();
    </script>
	<script type="text/javascript" src="/notebook/notebook_files/bootstrap-filestyle.min.js"></script>
</body>
</html>